<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/public/css/bootstrap.css">
    <title>{{title}}</title>
</head>
<body>
    <div class="container">
        <h1>{{title}}</h1>
        <div class="row">
            <div class="col-md-8 col-md-offset-2">
                {% for item in list %}
                  <div class="panel panel-default">
                     <div class="panel-heading">
                        <h3 class="text-center">{{item.title}}</h3>
                     </div>
                     <div class="panel-body">
                        <a href="{{item.url}}"><img src="{{item.image}}"/></a>
                    </div>
                    <div class="panel-footer">
                        <h3 class="text-center">
                            发表时间:{{helper.fromNow(item.createAt)}}
                        </h3>
                    </div>
                  </div>
                {% endfor %}
            </div>
        </div>
    </div>
</body>
</html>